package com.rest.services.impl;

import com.razorthink.runtime.ExecException;
import com.razorthink.runtime.ServiceExecutionContext;
import com.rest.core.Credentials;
import com.rest.core.TransactionMessage;
import com.rest.services.LoginServiceInterface;

public class LoginService implements LoginServiceInterface {

	@Override
	public TransactionMessage doLogin(ServiceExecutionContext ctx,
			Credentials credentials) throws ExecException {
		TransactionMessage tm = new TransactionMessage();
		tm.setMessage("Hello World");
		tm.setStatus(true);
		return tm;
	}

	@Override
	public TransactionMessage doLogout(ServiceExecutionContext ctx)
			throws ExecException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public TransactionMessage checkLoginStatus(ServiceExecutionContext ctx)
			throws ExecException {
		// TODO Auto-generated method stub
		return null;
	}

}
